home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.internetmci.com!panix!not-for-mail
- From: rcpj@panix.com (Pierre Jelenc)
- Newsgroups: comp.lang.rexx
- Subject: Locking a file?
- Date: 16 Apr 1996 17:14:55 -0400
- Organization: panix
- Distribution: inet
- Message-ID: <4l12kf$4m0@panix2.panix.com>
- NNTP-Posting-Host: panix2.panix.com
-
-
- How can I lock a file in OS/2 so that one and only one process at a time
- can modify it or its EA's? Would it be effective to mark the file as
- "hidden" or "system", or is there a possibility of one process getting a
- false reading between the time the other process decides to lock the file
- and the time when the OS actually changes the attribute?
-
- TIA
-
- Pierre
- --
- Pierre Jelenc Know what's weird? Day by day nothing seems to
- rcpj@panix.com change, but pretty soon everything is different.
- pierre@nycbeer.org Calvin & Hobbes
- http://www.columbia.edu/~pcj1/
-